<template>
		<view class="content">
			<view v-for="(item,index) in dataList" class="item f-c-b" @click="$to(`../product_detail/product_detail?type=积分`)">
				<view class="item-left">
					<image :src="item.url" mode="widthFix"></image>
				</view>
				<view class="item-right">
					<view class="title">
						{{item.title}}
					</view>
					<view class="price_browse f-c-b f30">
						<view class="price">
							<text class="f20">库存：{{item.num}}</text>
						</view>
						<view class="browse f25 c6">
							{{item.inte}}
						</view>
					</view>
				</view>
			</view>
		</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList:[{
					title:"甩开油田清爽一夏·【美国版】持 妆DW粉底液30ml 补水遮瑕持久...",
					num:200,
					url:"../../static/index/img_sp.png",
					inte:'55积分兑换'
				},{
					title:"甩开油田清爽一夏·【美国版】持 妆DW粉底液30ml 补水遮瑕持久...",
					num:200,
					url:"../../static/index/img_sp.png",
					inte:'55积分兑换'
				}],
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.content{
		background-color: #F4F4F4;
		height: 100vh;
	}
.item{
		background-color: #FFFFFF;
		margin-bottom: 20rpx;
		padding: 20rpx;
	}
	.item-left image{
		width: 160rpx;
	}
	.item-right{
		margin: 0 25rpx;
	}
	.price_browse{
		margin-top: 20rpx;
	}
	.price{
		color: #999999;
	}
	.browse{
		color: #FFFFFF;
		background-color: #FF2929;
		padding: 5rpx 10rpx;
		border-radius: 15rpx;
	}
	
</style>
